home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 December
/
Chip_2001-12_cd1.bin
/
zkuste
/
tuning
/
download
/
xteq
/
setup.exe
/
{app}
/
plugins
/
XQ Win2K Start Menu 1.xpl
< prev
next >
Wrap
Text File
|
2001-05-14
|
3KB
|
93 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="5"
"UIPATH"="Appearance\Start Menu\Cascaded Items"
"NAME"="Cascade Options"
"VERSION"="2.13"
"OSVERSION"="000111"
"LANGUAGE"="VBScript"
"TEXT 1"="Cascade "My Documents""
"TEXT 2"="Cascade "My Pictures""
"TEXT 3"="Cascade "Network and Dial-Up""
"TEXT 4"="Cascade "Control Panel""
"TEXT 5"="Cascade "Printers""
"DESCRIPTION 1"="Some options for the appearance of the Windows 2000/Windows ME/XP Start menu."
"DESCRIPTION 2"="Cascade means: make the items behave like menus with submenus instead of just opening the related folder. "
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"="Thanks to Pierre and CptSiskoX for the settings and the idea."
sV1="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\CascadeMyDocuments"
sV2="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\CascadeMyPictures"
sV3="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\CascadeNetworkConnections"
sV4="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\CascadeControlPanel"
sV5="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\CascadePrinters"
SUB Plugin_Initialize
s=RegReadValue(sV1)
If s="YES" or IsEmpty(s) then SetUIElement 1,true
s=RegReadValue(sV2)
If s="YES" or IsEmpty(s) then SetUIElement 2,true
s=RegReadValue(sV3)
If s="YES" or IsEmpty(s) then SetUIElement 3,true
s=RegReadValue(sV4)
If s="YES" or IsEmpty(s) then SetUIElement 4,true
s=RegReadValue(sV5)
If s="YES" or IsEmpty(s) then SetUIElement 5,true
END SUB
SUB Plugin_CheckData(ElementIndex)
END SUB
SUB Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call RegWriteValue(sV1,"YES",1)
else
Call RegWriteValue(sV1,"NO",1)
end if
b=GetUIElement(2)
if b=true then
Call RegWriteValue(sV2,"YES",1)
else
Call RegWriteValue(sV2,"NO",1)
end if
b=GetUIElement(3)
if b=true then
Call RegWriteValue(sV3,"YES",1)
else
Call RegWriteValue(sV3,"NO",1)
end if
b=GetUIElement(4)
if b=true then
Call RegWriteValue(sV4,"YES",1)
else
Call RegWriteValue(sV4,"NO",1)
end if
b=GetUIElement(5)
if b=true then
Call RegWriteValue(sV5,"YES",1)
else
Call RegWriteValue(sV5,"NO",1)
end if
'Call Logoff
Call IndicateSettingChange()
END SUB
SUB Plugin_Terminate
END SUB